package com.ckzp.plugins.datalist.active;

import java.util.List;

/**
 * Filename: EActive.java
 * Ttitle:   ������
 * Description:
 * Copyright:    Copyright (c) 2001-2004 BlueStar,Inc.All Rights Reserved.
 * Company:     huott
 * Author:      <a href="mailto:lanxingsc@163.com">wuyang</a>
 * Telephone:   86-28-85239210
 * Date: 2004-7-15
 * Time: 10:46:44
 * Version: 2.0.1.1127
 */
public interface EActive extends Cloneable {

    /**
     * ��������Դ
     *
     * @param source
     */
    public void setSource(String source);

    /**
     * ��ʾhtml����
     *
     * @return
     */
    public String showHtml();

    /**
     * ��ʾhtml����
     *
     * @return
     */
    public String showHtml(String currentValue);

    /**
     * ��ʾhtml����
     *
     * @return
     */
    public String showHtml(int currentValue);



    /**
     * ��ʾhtml����
     *
     * @return
     */
    public String showColor(String currentValue);

    /**
     * ��ʾhtml����
     *
     * @return
     */
    public String showNoColorHtml(String currentValue);

    /**
     * �����ݿ⽻������������
     */
    public void doAction();

    /**
     * �Ƿ�ֻ��
     *
     * @param readOnly
     */
    public void setReadOnly(boolean readOnly);

    /**
     * �Ƿ�Ϊ��
     *
     * @param canNull
     */
    public void setCanNull(boolean canNull);


    //rhtag.setReadOnly(true);
    public void setDefaultString(String def);

    /**
     * ������ʾɫ��
     *
     * @param showColor
     */
    public void setShowColor(String showColor);

    /**
     * ������ʾɫ��
     *
     * @param showColor
     */
    public void setLevelColor(String showColor);

    /**
     * ��������
     *
     * @param name
     */
    public Active setName(String name);

    public void setId(String id);

    /**
     * �����¼�
     *
     * @param event
     */
    public void setEvent(String event);

    /**
     * �����¼�
     *
     * @param event
     */
    public void addEvent(String event);

    /**
     * ��ʾÿ����
     * ����ʾN����¼���Զ�����
     * 0���ʾ�����С�
     *
     * @param brSize
     */
    public void setBrSize(int brSize);

    /**
     * ������ʾ��ʽ
     *
     * @param style
     */
    public void setStyle(String style);

    public void setStyleclass(String styleclass);

    public void setSelected_style(String selected_style);

    public void setSelected_styleclass(String selected_styleclass);

    /**
     * setStyleclass
     * ������ʾ��ʽ
     *
     * @param dataList
     */
    public void setDataList(List dataList);

    /**
     * ȡ������
     *
     * @return
     */
    public List getDataList();

    public EActive clone() throws CloneNotSupportedException;
}
